<?php
/**
 * 汇友科技
 * @copyright (c) 2017 http://www.huiyou365.net All rights reserved.
 * @author: Creatint <creatint@163.com>
 */

namespace Home\Controller;

class PageController extends HomeController{
    public function weizhangchaxun(){
        $this->display();
    }

    public function api(){
        $url = 'http://' . $_GET['domain'] . urldecode($_GET['query']);
        $content = file_get_contents($url);
        echo $content;
    }
}